import request from '@/utils/request'

// 查询传感器类型列表
export function listInfo(data) {
    return request({
        url: '/navigation/selectHistroyTransducerType?type='+data.type,
        method: 'post'
    })
}

// 瓦斯历史报警列表
export function getInfo(data) {
    return request({
        url: '/navigation/ssHistoryAllAlarm',
        method: 'get',
        params:data
    })
}

// 安全实时列表
export function addInfo(data) {
    return request({
        url: '/navigation/safeAlarmList',
        method: 'get',
        params:data
    })
}

// 弹框中历史轨迹列表
export function updateInfo(query) {
    return request({
        url: '/staff/staffData/selectTrack',
        method: 'get',
        params: query
    })
}

// 删除广播通讯
export function delInfo(id) {
    return request({
        url: '/GisTechnicalData/GisTechnicalData/' + id,
        method: 'delete'
    })
}
